package repository;

import java.util.List;

import model.University;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface UniversityRepository extends PagingAndSortingRepository<University,String>{
	List<University> findByName(String name);
	Page<University> findByAddress(String address,Pageable pageable);
	Page<University> findAll(Pageable pageable);
	
}
